package com.yiwyn.validemo.domain;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class User {

    @NotNull
    private String username;

    @NotNull
    private String gender;

}
